

package com.hazelcast.internal.util.collection;

import com.hazelcast.internal.nio.Disposable;

/**
 * Set of primitive {@code long}s.
 */
public interface LongSet extends Disposable {

    boolean add(long value);

    boolean remove(long value);

    boolean contains(long value);

    long size();

    boolean isEmpty();

    void clear();

    LongCursor cursor();
}
